projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5678829
)
project--git-submodules: Parse more strictly
author
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 14 Jun 2022 01:00:22 +0000
(
04:00
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 14 Jun 2022 01:00:22 +0000
(
04:00
+0300)
* lisp/progmodes/project.el (project--git-submodules):
Don't mistake 'load-path' for 'path' (bug#55396).
lisp/progmodes/project.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/project.el
b/lisp/progmodes/project.el
index 859ad2e047bd29f2f0c0bffba5abe598afe7eb33..f4d6742ed80d855c146baf5bc6935881a02c8216 100644
(file)
--- a/
lisp/progmodes/project.el
+++ b/
lisp/progmodes/project.el
@@
-599,7
+599,7
@@
backend implementation of `project-external-roots'.")
(insert-file-contents ".gitmodules")
(let (res)
(goto-char (point-min))
- (while (re-search-forward "path *= *\\(.+\\)" nil t)
+ (while (re-search-forward "
^[ \t]*
path *= *\\(.+\\)" nil t)
(push (match-string 1) res))
(nreverse res)))
(file-missing nil)))